Skip to main content

BaseControl

The BaseControl class represents a base control with event handling, property management, and difference detection.

Properties

NameDescription
ControlIdThe unique identifier of the control.
ClientEventsA list of client-side events associated with the control.
ExecutedServerEventsA list of server events that have been executed.
NameThe name of the control.
ServerEventsA list of server-side events associated with the control.

Constructors

NameDescription
BaseControl()Initializes a new instance of the BaseControl class with empty event lists.

Methods

NameDescription
OnInit(sender, e)Raises the Init event.
OnPropertyValueGet(sender, e)Raises the PropertyValueGet event.
OnRender(sender, e)Raises the Render event.
OnLoad(sender, e)Raises the Load event.
GetProtectedData(isDisabledOrReadOnly)#import (Bimser.CSP.FormControls.Base.ICanProtectData.GetProtectedData(bool)) (shortDescription)
GetDifferences(otherObj)Compares the current instance with another control and returns the differences.
SetPropertyValue(mapping, value)Sets the value of a property specified by a mapping.
OnPropertyChanged(sender, e)Handles the property changed event.
OnPreRender(sender, e)Raises the PreRender event.
OnPropertyChanging(sender, e)Handles the property changing event.

Events

NameDescription
InitTriggered when the control is initialized.
LoadTriggered when the control is loaded.
PreRenderTriggered before the control is rendered.
PropertyValueGetTriggered when retrieving a control property value.
RenderTriggered when the control is rendered.